package com.feinno.urcs.group;

import org.helium.framework.annotations.Configuration;
import org.helium.framework.configuration.Configurator;

/**
 * Created by Lei Gao on 5/12/15.
 */
@Configuration(path = "group-config.xml")
public class GroupConfiguration extends Configurator<GroupConfiguration> {
	public static final GroupConfiguration INSTANCE = new GroupConfiguration();

	public GroupConfiguration() {
		super(INSTANCE);
	}

	// group.bj.ims.mnc000.mcc460.3gppnetwork.org
//	private String rcseConferenceUri = "sip:1252000199@group.bj.ims.mnc000.mcc460.3gppnetwork.org";
//	private String groupDomain = "group.bj.ims.mnc000.mcc460.3gppnetwork.org";
//	private String domain = "bj.ims.mnc000.mcc460.3gppnetwork.org";
	private String rcseConferenceUri = "sip:1252000199@group.feinno.com";
	private String groupDomain = "group.feinno.com";
	private String domain = "feinno.com";
	private String groupPrefix = "1252000199";
	private int groupActivateExpires = 1000 * 60 * 2;  // 15分钟
	private int createGroupMaxCount = 1000;
	private int subscriptionExpires = 3600 * 7;
	private int memberLimit = 1000;
	private String appId = "009";

	private int smsQuotaDay = 20;

	private String httpDownloadUrl = "";

	public String getHttpDownloadUrl() {
		return httpDownloadUrl;
	}


	public String getGroupDomain() {
		return groupDomain;
	}

	public String getGroupPrefix() {
		return groupPrefix;
	}

	public String getRcseConferenceUri() {
		return rcseConferenceUri;
	}

	public int getCreateGroupMaxCount() {
		return createGroupMaxCount;
	}

	public String getDomain() {
		return domain;
	}

	public int getSubscriptionExpires() {
		return subscriptionExpires;
	}

	public String getAppId() {
		return appId;
	}

	@Override
	public void reloadValues() {

	}

	public int getGroupActivateExpires() {
		return groupActivateExpires;
	}

	public int getSmsQuotaDay() {
		return smsQuotaDay;
	}

	public int getMemberLimit() {
		return memberLimit;
	}
}
